import torch
import numpy as np
import os
import tensorflow.compat.v1 as tf

tf.disable_eager_execution()

def gen_golden_data_simple():
    os.system("mkdir -p input")
    os.system("mkdir -p output")
    
    test_type = np.float16
    input_x = np.random.uniform(1, 10, [128]).astype(test_type)
    input_x.tofile("./input/input_x.bin")

    input_x.tofile("./output/golden.bin")


if __name__ == "__main__":
    gen_golden_data_simple()
